
package com.movitech.mobile.ddzy.bpm;

/**
 * Please modify this class to meet your needs
 * This class is not complete
 */

import java.io.File;
import java.net.MalformedURLException;
import java.net.URL;
import javax.xml.namespace.QName;
import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebResult;
import javax.jws.WebService;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.ws.RequestWrapper;
import javax.xml.ws.ResponseWrapper;

/**
 * This class was generated by Apache CXF 3.1.12
 * 2018-03-12T16:24:46.964+08:00
 * Generated source version: 3.1.12
 * 
 */
public final class WorkflowService_WorkflowServiceImplPort_Client {

    private static final QName SERVICE_NAME = new QName("http://service.ws.mg.com/", "WorkflowServiceImplService");

    private WorkflowService_WorkflowServiceImplPort_Client() {
    }

    public static void main(String args[]) throws java.lang.Exception {
        URL wsdlURL = WorkflowServiceImplService.WSDL_LOCATION;
        if (args.length > 0 && args[0] != null && !"".equals(args[0])) { 
            File wsdlFile = new File(args[0]);
            try {
                if (wsdlFile.exists()) {
                    wsdlURL = wsdlFile.toURI().toURL();
                } else {
                    wsdlURL = new URL(args[0]);
                }
            } catch (MalformedURLException e) {
                e.printStackTrace();
            }
        }
      
        WorkflowServiceImplService ss = new WorkflowServiceImplService(wsdlURL, SERVICE_NAME);
        WorkflowService port = ss.getWorkflowServiceImplPort();  
        
        {
        System.out.println("Invoking invokeApprovalFlow...");
        java.lang.String _invokeApprovalFlow_jsonString = "";
        java.lang.String _invokeApprovalFlow__return = port.invokeApprovalFlow(_invokeApprovalFlow_jsonString);
        System.out.println("invokeApprovalFlow.result=" + _invokeApprovalFlow__return);


        }
        {
        System.out.println("Invoking getUserInfoAll...");
        java.lang.String _getUserInfoAll_jsonString = "";
        java.lang.String _getUserInfoAll__return = port.getUserInfoAll(_getUserInfoAll_jsonString);
        System.out.println("getUserInfoAll.result=" + _getUserInfoAll__return);


        }
        {
        System.out.println("Invoking getUserInfo...");
        java.lang.String _getUserInfo_jsonString = "";
        java.lang.String _getUserInfo__return = port.getUserInfo(_getUserInfo_jsonString);
        System.out.println("getUserInfo.result=" + _getUserInfo__return);


        }
        {
        System.out.println("Invoking invokePaymentVoucher...");
        java.lang.String _invokePaymentVoucher_jsonString = "";
        java.lang.String _invokePaymentVoucher__return = port.invokePaymentVoucher(_invokePaymentVoucher_jsonString);
        System.out.println("invokePaymentVoucher.result=" + _invokePaymentVoucher__return);


        }
        {
        System.out.println("Invoking invokeExpenseFlow...");
        java.lang.String _invokeExpenseFlow_jsonString = "";
        java.lang.String _invokeExpenseFlow__return = port.invokeExpenseFlow(_invokeExpenseFlow_jsonString);
        System.out.println("invokeExpenseFlow.result=" + _invokeExpenseFlow__return);


        }
        {
        System.out.println("Invoking getUsersByCompanyMajor...");
        java.lang.String _getUsersByCompanyMajor_arg0 = "";
        java.lang.String _getUsersByCompanyMajor__return = port.getUsersByCompanyMajor(_getUsersByCompanyMajor_arg0);
        System.out.println("getUsersByCompanyMajor.result=" + _getUsersByCompanyMajor__return);


        }
        {
        System.out.println("Invoking sendAlert...");
        java.lang.String _sendAlert_jsonString = "";
        java.lang.String _sendAlert__return = port.sendAlert(_sendAlert_jsonString);
        System.out.println("sendAlert.result=" + _sendAlert__return);


        }
        {
        System.out.println("Invoking getUserListByEmployeeIds...");
        java.lang.String _getUserListByEmployeeIds_arg0 = "";
        java.lang.String _getUserListByEmployeeIds__return = port.getUserListByEmployeeIds(_getUserListByEmployeeIds_arg0);
        System.out.println("getUserListByEmployeeIds.result=" + _getUserListByEmployeeIds__return);


        }
        {
        System.out.println("Invoking getApprovalFlowUrl...");
        java.lang.String _getApprovalFlowUrl_jsonString = "";
        java.lang.String _getApprovalFlowUrl__return = port.getApprovalFlowUrl(_getApprovalFlowUrl_jsonString);
        System.out.println("getApprovalFlowUrl.result=" + _getApprovalFlowUrl__return);


        }
        {
        System.out.println("Invoking getEmtryTime...");
        java.lang.String _getEmtryTime_jsonString = "";
        java.lang.String _getEmtryTime__return = port.getEmtryTime(_getEmtryTime_jsonString);
        System.out.println("getEmtryTime.result=" + _getEmtryTime__return);


        }
        {
        System.out.println("Invoking getReportPersonalData...");
        java.lang.String _getReportPersonalData_jsonString = "";
        java.lang.String _getReportPersonalData__return = port.getReportPersonalData(_getReportPersonalData_jsonString);
        System.out.println("getReportPersonalData.result=" + _getReportPersonalData__return);


        }
        {
        System.out.println("Invoking getBranchList...");
        java.lang.String _getBranchList_jsonString = "";
        java.lang.String _getBranchList__return = port.getBranchList(_getBranchList_jsonString);
        System.out.println("getBranchList.result=" + _getBranchList__return);


        }
        {
        System.out.println("Invoking loadIndicatorData...");
        java.lang.String _loadIndicatorData_jsonString = "";
        java.lang.String _loadIndicatorData__return = port.loadIndicatorData(_loadIndicatorData_jsonString);
        System.out.println("loadIndicatorData.result=" + _loadIndicatorData__return);


        }
        {
        System.out.println("Invoking getParammeter...");
        java.lang.String _getParammeter_jsonString = "";
        java.lang.String _getParammeter__return = port.getParammeter(_getParammeter_jsonString);
        System.out.println("getParammeter.result=" + _getParammeter__return);


        }
        {
        System.out.println("Invoking getExpAccountStatus...");
        java.lang.String _getExpAccountStatus_jsonString = "";
        java.lang.String _getExpAccountStatus__return = port.getExpAccountStatus(_getExpAccountStatus_jsonString);
        System.out.println("getExpAccountStatus.result=" + _getExpAccountStatus__return);


        }
        {
        System.out.println("Invoking getApprovalExpUrl...");
        java.lang.String _getApprovalExpUrl_jsonString = "";
        java.lang.String _getApprovalExpUrl__return = port.getApprovalExpUrl(_getApprovalExpUrl_jsonString);
        System.out.println("getApprovalExpUrl.result=" + _getApprovalExpUrl__return);


        }
        {
        System.out.println("Invoking getFlowStatus...");
        java.lang.String _getFlowStatus_jsonString = "";
        java.lang.String _getFlowStatus__return = port.getFlowStatus(_getFlowStatus_jsonString);
        System.out.println("getFlowStatus.result=" + _getFlowStatus__return);


        }
        {
        System.out.println("Invoking sendMessage...");
        java.lang.String _sendMessage_jsonString = "";
        java.lang.String _sendMessage__return = port.sendMessage(_sendMessage_jsonString);
        System.out.println("sendMessage.result=" + _sendMessage__return);


        }
        {
        System.out.println("Invoking getOrganizationInfo...");
        java.lang.String _getOrganizationInfo_jsonString = "";
        java.lang.String _getOrganizationInfo__return = port.getOrganizationInfo(_getOrganizationInfo_jsonString);
        System.out.println("getOrganizationInfo.result=" + _getOrganizationInfo__return);


        }
        {
        System.out.println("Invoking getPublicity...");
        java.lang.String _getPublicity_jsonString = "";
        java.lang.String _getPublicity__return = port.getPublicity(_getPublicity_jsonString);
        System.out.println("getPublicity.result=" + _getPublicity__return);


        }

        System.exit(0);
    }

}
